From 8a5761d2b7238cf4a15c79307307031757c9b38b Mon Sep 17 00:00:00 2001 From: Keir Fraser Date: Mon, 22 Feb 2010 10:02:17 +0000 Subject: [PATCH] tmem: Quieten noisy printk in non-debug build Signed-off-by: Keir Fraser --- xen/common/tmem.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/xen/common/tmem.c b/xen/common/tmem.c index 82075b6944..c2f6c74f1f 100644 --- a/xen/common/tmem.c +++ b/xen/common/tmem.c @@ -2529,7 +2529,9 @@ EXPORT void *tmem_relinquish_pages(unsigned int order, unsigned int memflags) relinq_attempts++; if ( order > 0 ) { +#ifndef NDEBUG printk("tmem_relinquish_page: failing order=%d\n", order); +#endif return NULL; } -- 2.30.2